package io.renren.modules.oss.properties;

import io.renren.modules.oss.properties.cloud.AliyunProperties;
import io.renren.modules.oss.properties.cloud.FtpProperties;
import io.renren.modules.oss.properties.cloud.MinioProperties;
import io.renren.modules.oss.properties.cloud.QcloudProperties;
import io.renren.modules.oss.properties.cloud.QiniuProperties;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author: huan.xu
 * @create: 2023/12/23 14:26
 * @description:
 **/
@Data
@ConfigurationProperties(prefix = "oss-cloud")
@Component
public class OSSConfigProperties {

  /**
   * 云存储类型
   */
  private Integer cloudType;
  /**
   * 七牛
   */
  private QiniuProperties qiniu;
  /**
   * 阿里云
   */
  private AliyunProperties aliyun;
  /**
   * 腾讯云
   */
  private QcloudProperties qcloud;
  /**
   * ftp
   */
  private FtpProperties ftp;
  /**
   * minio
   */
  private MinioProperties minio;
}
